<template>
  <div class="main-container">
    <div class="card-label" v-text="label">
    </div>
    <slot name="header"></slot>
    <el-scrollbar style="height: 60vh">
      <slot></slot>
    </el-scrollbar>
    <div class="bottom">
      <slot name="bottom"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "TagCard",
  props: {
    label: {
      type: String
    },
  }
}
</script>

<style lang="scss" scoped>
.main-container {
  position: relative;
  min-width: 440px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid rgba(232, 232, 232, 100);
  padding: 15px;
  margin-right: 8px;
  .card-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
  }
  .bottom {
    position: relative;
    bottom: 20px;
  }
}
</style>
